assume cs:code

code segment
        start:mov ax, 4240h
              mov dx, 000fh
              mov cx, 0ah
              call divdw

              mov ax, 4c00h
              int 21h

        divdw:mov bp, ax

              mov ax, dx
              mov dx, 0
              div cx

              mov si, ax  
              mov ax, bp
              div cx

              mov cx, dx
              mov dx, si

              ret

code ends
end start

